package com.tanhua.dubbo.api;

import com.tanhua.model.domain.mysql.Settings;

public interface SettingsApi {

    /**
     * description: 查询通知设置 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:58 <br>
     * author: SangWu <br>
     *
     * @param userId
     * @return com.tanhua.model.domain.mysql.Settings
     */
    Settings findSettings(Long userId);

    /**
     * description: 保存通知设置 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:59 <br>
     * author: SangWu <br>
     *
     * @param findSettings
     * @return void
     */
    void saveSettings(Settings findSettings);

    /**
     * description: 修改通知设置 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:59 <br>
     * author: SangWu <br>
     *
     * @param findSettings
     * @return void
     */
    void updateSettings(Settings findSettings);
}